Concealing information via embedded files.
- Execute
flag.py
. It asks for a flag. - Search for the flag inside
info.png
using either of the following tools:- Binwalk:
# Look at what files are contained within binwalk info.png # The ZIP file looks interesting binwalk -e info.png cd _info.png.extracted # Unzip it unzip 134EF.zip -d folder cd folder # Look at house.txt cat house.txt # Looks like Base64 base64 -d house.txt # Possible PNG base64 -d house.txt >house.png # Nice image, but there is a flag strings house.png | grep flag
- Foremost:
# Look at what files are contained within foremost info.png cd output # The ZIP file looks interesting cd zip # Unzip it unzip 00000154.zip -d folder cd folder # Look at house.txt cat house.txt # Looks like Base64 base64 -d house.txt # Possible PNG base64 -d house.txt >house.png # Nice image, but there is a flag strings house.png | grep flag
- CyberChef:
- Insert
info.png
inside the input. - Look for embedded files.
- Get the ZIP file out.
- Extract it and grab the text file as input.
- Decode the Base64. Looks like a PNG.
- Look for strings. More specifically, the flag.
- Insert
- Binwalk:
- Enter the flag.